# texture mapped cube with my mug on the sides

eye { 0.0, 0.0, 4.0 }
light { 0.0, 0.0, 4.0 }

object cube {
  center { 0.0, 0.0, -6.0 }
  rotate { 2, 0, 2 }
  surface front {
    style textured steve.gif
    vertex { -1.0, 1.0, 1.0 }
    vertex { -1.0, -1.0, 1.0 }
    vertex { 1.0, -1.0, 1.0 }
    vertex { 1.0, 1.0, 1.0 }
  }
  surface right {
    style textured steve.gif
    vertex { 1.0, 1.0, 1.0 }
    vertex { 1.0, -1.0, 1.0 }
    vertex { 1.0, -1.0, -1.0 }
    vertex { 1.0, 1.0, -1.0 }
  }
  surface back {
    style textured steve.gif
    vertex { 1.0, 1.0, -1.0 }
    vertex { 1.0, -1.0, -1.0 }
    vertex { -1.0, -1.0, -1.0 }
    vertex { -1.0, 1.0, -1.0 }
  }
  surface left {
    style textured steve.gif
    vertex { -1.0, 1.0, -1.0 }
    vertex { -1.0, -1.0, -1.0 }
    vertex { -1.0, -1.0, 1.0 }
    vertex { -1.0, 1.0, 1.0 }
  }
  surface top {
    style textured steve.gif
    vertex { -1.0, 1.0, -1.0 }
    vertex { -1.0, 1.0, 1.0 }
    vertex { 1.0, 1.0, 1.0 }
    vertex { 1.0, 1.0, -1.0 }
  }
  surface bottom {
    style textured steve.gif
    vertex { -1.0, -1.0, 1.0 }
    vertex { -1.0, -1.0, -1.0 }
    vertex { 1.0, -1.0, -1.0 }
    vertex { 1.0, -1.0, 1.0 }
  }
}

